package com.cqjtu.mapper;

import com.cqjtu.pojo.Unit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UnitMapper {


    List<Unit> list(String unitName, String unitCategory);

    void insert(Unit unit);

    Unit getById(Integer unitId);

    void update(Unit unit);

    void delete(List<Integer> unitIds);
}
